package com.cug.campus_sh_market_server.service;

import com.cug.campus_sh_market_server.entity.param.OrderParam;
import com.cug.campus_sh_market_server.entity.param.PageParam;
import com.cug.campus_sh_market_server.entity.param.user.UserAddParam;
import com.cug.campus_sh_market_server.entity.param.user.UserQueryParam;
import com.cug.campus_sh_market_server.entity.param.user.UserRestPasswordParam;
import com.cug.campus_sh_market_server.entity.param.user.UserUpdateParam;
import com.cug.campus_sh_market_server.entity.po.User;
import com.cug.campus_sh_market_server.entity.vo.user.UserVO;
import com.nycreativity.elecreativity.entity.vo.PageDataVO;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author sxt
 * @since 2022-03-22
 */
public interface UserService extends IRestfullService
        <User, UserQueryParam, UserAddParam, UserUpdateParam, UserVO> {

    UserVO queryById(Integer id);

    User queryUserByAccount(String number);

    UserVO queryUsersById(Integer id);

    boolean resetPassword(UserRestPasswordParam passwordParam);
}
